|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjp.co.ricoh.dsdk.scard.framework.util.APDU
jp.co.ricoh.dsdk.scard.framework.util.ResponseAPDU
Represents a response received from the smart card in response to a previous requestAPDU .
| Field Summary |
| Fields inherited from class jp.co.ricoh.dsdk.scard.framework.util.APDU |
buffer |
| Constructor Summary | |
ResponseAPDU(APDU apdu)
Create a new ResponseAPDU and initializes it with given APDU . |
|
ResponseAPDU(byte[] apdu)
Create a new ResponseAPDU and initializes it with given bytes . |
|
| Method Summary | |
byte[] |
data()
Get string of bytes received in the data field of the response . |
int |
statusWords()
Get the status words as an int value . |
byte |
sw1()
Get the status word 1 . |
byte |
sw2()
Get the status word 2 . |
| Methods inherited from class jp.co.ricoh.dsdk.scard.framework.util.APDU |
append, append, equals, getByte, getLength, hashCode, setByte, setLength, toBytes |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResponseAPDU(APDU apdu)
throws APDUException
apdu - the APDU to be used for holding the APDU
.
APDUException - When ResponseAPDU is not initialized correctly, this exception will be thrown
.
public ResponseAPDU(byte[] apdu)
throws APDUException
apdu - the byte array to be used for holding the APDU
.
APDUException - When ResponseAPDU is not initialized correctly, this exception will be thrown
.| Method Detail |
public int statusWords()
public byte sw1()
public byte sw2()
public byte[] data()
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||